$.fn.extend({
	alertLogin:function (address) {
		$(this).append(`<div class="login-alertbox">
			<div class="login-form">
			
					<div class="login-form-content">
					<a class="login-close">×</a>
						<div class="login-title">
							<h3></h3>

						</div>
						<div class="login-form-body flex">
							<div class="login-loginbox" style="display: block;">
								<div class="login-errbox"></div>
								<div class="login-inputbox">
									<i class="login-tel-icon"></i>
									<input class="login-long" type="text" name="" id="login-tel" placeholder="输入手机/邮箱/用户名" />
									<span class="login-del">
										
									</span>
								</div>
								<div class="login-inputbox">
									<i class="login-pwd-icon"></i>
									<input class="login-long" type="password" name="" id="login-pwd" value="" placeholder="输入密码" />
									<span class="login-del">
										
									</span>
								</div>

								<div class="login-btn" id="login-submit">登录</div>
								<div class="login-fromphone">手机验证码登录</div>
							</div>
							<div class="login-registerbox" style="display: none;">
								<div class="login-errbox"></div>
								<div class="login-inputbox">
									<i class="login-tel-icon"></i>
									<input class="login-long" type="text" name="" id="register-tel" placeholder="输入手机号" />
									<span class="login-del">
										
									</span>
								</div>
								<div class="login-inputbox">
									<i class="login-pwd-icon"></i>
									<input class="login-long" type="password" name="" id="register-password" value="" placeholder="输入密码" />

									<span class="login-pwdpower">
										
									</span>
								</div>
								<div class="login-inputbox">
									<i class="login-check-icon"></i>
									<input class="login-short" type="text" name=""  value="" placeholder="输入右侧验证码" />

									<span class="login-reset">
										
									</span>
									<img src="img/get_imgcode.png" alt="" class="login-check-img" />
								</div>
								<div class="login-inputbox">
									<i class="login-check-icon"></i>
									<input class="login-short" type="password" name=""  value="" placeholder="输入短信验证码" />
									<span class="login-message-btn">免费获取短信</span>

								</div>
								<div class="login-btn" id="register-submit">注册</div>
								<div class="login-fromphone">手机验证码登录</div>
							</div>
							<div class="login-form-right">
								<ul class="login-right-ul">
									<li>
										<h5>使用合作账号一键登录</h5></li>
									<li class="login-qq"></li>
									<li class="login-sina"></li>
									<li class="login-wechat"></li>
									<li>
										<p><span class="login-munif">
											没有暴风账号？
										</span>
											<span class="login-if">
										立即注册
									</span></p>
									</li>
								</ul>
								<a href="http://service.baofeng.com/hhelpcenter/sanji/39" class="login-question">遇到问题</a>
							</div>
						</div>

					</div>
				</div>
		</div>`)
		$.login.main(address)
	}
})